package com.pignest.hotel.system.exception;

import org.directwebremoting.annotations.DataTransferObject;
import org.directwebremoting.annotations.RemoteProperty;

@DataTransferObject
public class AjaxException extends RuntimeException {

	private static final long serialVersionUID = 5625323942743087759L;

	public AjaxException() {
		super();
	}

	public AjaxException(String message, Throwable cause) {
		super(message, cause);
	}

	public AjaxException(String message) {
		super(message);
	}

	public AjaxException(Throwable cause) {
		super(cause);
	}
	
	@RemoteProperty
	@Override
	public String getMessage() {
		return super.getMessage();
	}

}
